package ac.il.technion.c236369.hw4.core.producers;

import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;

import ac.il.technion.c236369.hw4.core.entity.SizedContentProducer;

public class UnsupportedFileExtension extends SizedContentProducer {

	@Override
	public void writeTo(OutputStream outstream) throws IOException {
		PrintStream printer = new PrintStream(outstream);
		printer.println( "<html>");
		printer.println( "<body>");
		printer.println( "<h1>");
		printer.println( "Unsupported file extension, cannot handle request.");
		printer.println( "</h1>");
		printer.println( "</body>");
		printer.println( "</html>");
	}
}
